<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>图书管理</title>
		<?php foreach ($css_files as $css):
		?>
		<link rel="stylesheet" type="text/css" href="css/<?php echo $css;?>" />
		<?php endforeach;?>

		<?php foreach ($js_files as $js):
		?>
		<script type="text/javascript" src="js/<?php echo $js;?>"></script>
		<?php endforeach;?>
	</head>
	<body >
		<div id="page-wrap">
			<div id="top-bar">
				<img src="images/logo.png" alt="DZone" class="floatleft" />
				<div id="right-side">
					<img src="images/usericon.jpg" alt="user icon" />&ensp; <a href="#" class="first">User Name</a>&ensp; <a href="#">Submit New</a>&ensp; <a href="#">Logout</a> &emsp;
				</div>
			</div>
			<div class="nav">
				<li class="<?php if(stristr($_SERVER['PHP_SELF'],'index.php') != false) echo 'current' ?>">
					<a href="index.php"><b>首页</b></a>
				</li>
				<li class="<?php if(stristr($_SERVER['PHP_SELF'],'profile.php') != false) echo 'current' ?>">
					<a href="profile.php"><b>我的书籍</b></a>
				</li>
				<li>
					<a href="#"><b>社区</b></a>
				</li>
				<li>
					<a href="#"><b>反馈</b></a>
				</li>
			</div>
			<div style="height: 47px; background: rgb(252,246,237); border-bottom: 1px solid #f2eae0;">
				<form id="main-search">
					<button style="background: url(images/button3.gif) left top no-repeat, url(images/button3.gif) right top no-repeat; line-height: 35px; color:#0a0; border: 0px; padding: 0 16px 0 8px;">Test This is a tory</button>
					<label for="search-field" id="search-field-label">Search</label>
					<input type="text" tabindex="1" maxlength="255" id="search-field"/>
					<input type="image" alt="Search" value="Search" src="images/search.png" id="search-button"/>                    
				</form>
			</div>
